import Vue from 'vue'
import App from './App_mobile'

//路由对象
import Router from "vue-router"
Vue.use(Router);
var routes = require('@'+ process.env.PROJECT +'/router/mobile');
var router = new Router(routes);

import jquery from 'jquery'
//保存到全局属性中
window.router = router;
window.$ = jquery;
window.jQuery = jquery;

//自定义js : 保存了全局属性axios, config, lsKey, tool, api
import './js/utils/frame.js'
import './js/utils/axios.js'
require('@'+ process.env.PROJECT +'/js/api/api.js');


Vue.config.productionTip = false


new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
